﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="category.aspx.cs" Inherits="RicciWebsite.admin.products.category" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="aspnetForm" runat="server">
    <table cellspacing="0" cellpadding="5" width="100%" border="0">
        <tr>
            <td class="content_head">
                当前位置：管理中心 &gt; 分类维护
            </td>
        </tr>
        <tr>
            <td height="2">
            </td>
        </tr>
    </table>
    <div id="man_zone">
        <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1">
            <tr>
                <td width="18%" class="left_title_1">
                    分类名称
                </td>
                <td width="82%">
                    <asp:TextBox ID="txtpcname" runat="server" Width="60%"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfv1" ControlToValidate="txtpcname" Display="Dynamic"
                        runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="left_title_2">
                    上级分类
                </td>
                <td>
                    <asp:DropDownList ID="txtppcid" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td width="18%" class="left_title_1">
                    页面关键字
                </td>
                <td width="82%">
                    <asp:TextBox ID="txtkeywords" runat="server" Width="60%"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="left_title_2">
                    页面描述
                </td>
                <td>
                    <asp:TextBox ID="txtdescription" runat="server" Width="60%" TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td width="18%" class="left_title_1">
                    备注
                </td>
                <td>
                    <asp:TextBox ID="txtmemo" runat="server" Width="60%" TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="left_title_2">
                    排序
                </td>
                <td>
                    <asp:TextBox ID="txtpsort" runat="server" Text="1"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfv2" ControlToValidate="txtpsort" Display="Dynamic"
                        runat="server" ErrorMessage="*"></asp:RequiredFieldValidator><asp:RangeValidator
                            ID="rv1" runat="server" ErrorMessage="请输入大于0的整数!" Type="Integer" MaximumValue="999999999"
                            MinimumValue="0" Display="Dynamic" ControlToValidate="txtpsort"></asp:RangeValidator>
                </td>
            </tr>
            <tr>
                <td class="left_title_1">
                    &nbsp;
                </td>
                <td>
                    <asp:Button ID="btnsubmit" runat="server" Text="提交" UseSubmitBehavior="true" OnClick="btnsubmit_Click" />
                    &nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="btnDelete" runat="server" CausesValidation="false" OnClientClick="return confirm('确认删除该分类？')"
                        Visible="false" OnClick="lnkbtnDelete_Click" Text="删除" />
                    &nbsp;&nbsp;&nbsp;&nbsp;
                    <input id="btnNew" type="button" value="添加" onclick="window.location.href='category.aspx'"  runat="server" visible="false"/>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
